import { WeaTools } from 'ecCom'

/**
 * 绩效-考核方案-获取详情
 * jiansong 2019/6/11
 */
export const programDetailApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programDetail', 'GET', params);
};

/**
 * 绩效-考核方案-操作
 * jiansong 2019/6/11
 */
export const programOperationApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programOperation', 'POST', params);
};

/**
 * 绩效-考核方案-获取引用指标方案
 * jiansong 2019/6/11
 */
export const programBrowserApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programBrowser', 'GET', params);
};

/**
 * 绩效-考核方案-日志列表
 * jiansong 2019/6/11
 */
export const programLogListApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programLogList', 'GET', params);
};

/**
 * 绩效-有权限访问的考核指标列表
 * jiansong 2020/2/11
 */
export const programAccessItemApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programAccessItem', 'GET', params);
};